package cn.daichi.redisidempotency.common;

import lombok.AllArgsConstructor;
import lombok.Getter;

@Getter
@AllArgsConstructor
public enum HttpStatus {

     SUCCESS(200, "成功"),

     ERROR(500, "失败");

     private final int code;
     private final String name;

}
